<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:doc="livcos.org/ns/doc"
  xmlns="http://www.w3.org/1999/XSL/Format"
  exclude-result-prefixes="doc">
  
  <xsl:import href="fo2wordml.xsl" />

  <xsl:output method="xml" media-type="application/msword"/>
  
  <xsl:param name="ref"/>
  
  <xsl:template match="/">
    <xsl:apply-templates select="document(concat('document.view?ref=',$ref))" mode="root"/>
  </xsl:template>
  
</xsl:stylesheet>
